package com.study.schedu;

import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/**
 * @author zhuzi
 * 2024/5/21 9:16
 */
@Component
public class PrintSchedu {
    //@Scheduled(cron = "*/5 * * * * ?")
    public void print() {
        System.out.println(LocalDateTime.now());
    }
}
